@extends('d.layout.index')
@section('con')
	<div class="mws-panel grid_8">
    	<div class="mws-panel-header">
        	<span>修改友情链接</span>
        </div>
        <div class="mws-panel-body no-padding">
        	<form action="/admin/friendLink/update" method="post" class="mws-form">
        	{{csrf_field()}}
            <input type="hidden" name="id" value='{{$res['id']}}'>
        		<div class="mws-form-inline">
        			<div class="mws-form-row">
        				<label class="mws-form-label">网站名称:</label>
        				<div class="mws-form-item">
        					<input type="text" name="name" value='{{$res['name']}}' class="small">
        				</div>
        			</div>
        		</div>
        		<div class="mws-form-inline">
        			<div class="mws-form-row">
        				<label class="mws-form-label">网站地址:</label>
        				<div class="mws-form-item">
        					<input type="text" name="url" value='{{$res['url']}}' class="small">
        				</div>
        			</div>
        		</div>
        		<div class="mws-form-inline">
        			<div class="mws-form-row">
        				<label class="mws-form-label">网站描述:</label>
        				<div class="mws-form-item">
        					<input type="text" name="desc" value='{{$res['desc']}}' class="small">
        				</div>
        			</div>
        		</div>
        		<div class="mws-form-inline">
        			<div class="mws-form-row">
        				<label class="mws-form-label">链接排序:</label>
        				<div class="mws-form-item">
        					<input type="text" name="order" value='{{$res['order']}}' class="small">
        				</div>
        			</div>
        		</div>

        		<div class="mws-button-row">
        			<input type="submit" class="btn btn-danger" value="修改">
        			<input type="reset" class="btn " value="重置">
        		</div>

        	</form>
        </div>    	
    </div>
@endsection